package com.example.pong;

import sheep.graphics.Color;
import android.graphics.Canvas;

public class Score {

	private int playerScore;
	private int computerScore;
	
	public Score(){
		playerScore = 0;
		computerScore = 0;
	}
	
	public void setPlayerScore() {
		playerScore += 1;
	}

	public void setComputerScore() {
		computerScore += 1;
	}

	public void draw(Canvas canvas){
		canvas.drawText(("Player "+playerScore+" - "+computerScore+" Computer"), 40, 40, Color.WHITE);
	}
}
